<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.css">
    <style type="text/css">
        body{
            padding-top:50px;
        }
    </style>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target="#tipo">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="#" class="navbar-brand">
                <img src="../img/github.png" alt="github" style="width:30px;height: 30px;">
            </a>
        </div>

        <!---->
        <div class="collapse navbar-collapse" id="tipo">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Link</a></li>
                <li><a href="#">Link</a></li>
                <li><a href="#">Link</a></li>
                <li class="dropdown">
                    <a href="http://www.baidu.com" class="dropdown-toggle" role="button" data-toggle="dropdown">
                        dropdown
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#">link</a></li>
                        <li><a href="#">link</a></li>
                        <li><a href="#">link</a></li>
                        <li><a href="#">link</a></li>
                    </ul>
                </li>
            </ul>

            <form action="" class="navbar-form navbar-left">
                <div class="form-group">
                    <label for="iusename" class="sr-only">search</label>
                    <div class="input-group">
                        <input type="text" placeholder="search" id="iusename" class="form-control">
                        <div class="input-group-addon">
                            <span class="glyphicon glyphicon-search"></span>
                        </div>
                    </div>
                </div>
                <button type="submit" class="btn btn-primary">submit</button>
            </form>

            <ul class="nav navbar-nav navbar-right">
                <li >
                    <a href="#">link</a>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        dropdown
                        <span class="glyphicon glyphicon-adjust"></span>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="#">12</a></li>
                        <li><a href="#">12</a></li>
                        <li><a href="#">12</a></li>
                        <li><a href="#">12</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-3">
            <a href="http://www.baidu.com" class="thumbnail">
                <img src="../img/github.png" alt="github">
               <div class="caption ">
                   <h3 class="text-center">ThumbNail</h3>
                   <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam.
                       Donec id elit non mi porta gravida at eget metus.
                       Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
                  <div class="text-center">
                      <button type="button" class="btn btn-info">btn-info</button>
                      <button type="button" class="btn btn-primary">btn-primary</button>
                  </div>
               </div>
            </a>
        </div>
    </div>
    <hr>
    <div class="alert alert-danger">alert-danger</div>
    <div class="alert alert-success">alert-success</div>
    <div class="alert-info alert">alert-info</div>
    <!--&times 就是一个叉号 ；-->
    <div class="alert alert-dismissable alert-info">
        <button class="close" type="button" data-dismiss="alert">
            &times;
        </button>
       <strong>Alert-Info</strong> hahha
    </div>
<!--alert-link类 目的是和背景色相同-->
    <div class="alert alert-warning">
        hello world
        <a href="#" class="alert-link">link</a>
        welcome link;
    </div>

</div>
<script src="bootstrap/jquery-3.1.0.min.js" type="text/javascript"></script>
<script src="bootstrap/js/bootstrap.js" type="text/javascript"></script>

</body>
</html>